<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title> ${table.comment!}</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" href="/static/assets/libs/layuiadmin/layui/css/layui.css" media="all">
	<link rel="stylesheet" href="/static/assets/libs/layuiadmin/style/admin.css" media="all">
</head>
<body>
<div class="layui-fluid">
	<div class="layui-card">
		<div class="layui-form layui-card-header layuiadmin-card-header-auto">
			<#assign rows = 0>
			<#assign end = false>
			<#list fields as field>
			<#if rows%5==0>
			<#if end>
			</div>
			</#if>
			<#assign end = true>
			<div cla
				 s="layui-form-item">
			</#if>
				<div class="layui-inline">
					<input type="text" name="${field.propertyName}"<#if rows ==0> autofocus="autofocus"</#if> autocomplete="off" class="layui-input" data-operator="like" data-type="<#if field.propertyType=='Integer'||field.propertyType=='Double'||field.propertyType=='Decimal'||field.propertyType=='Float' >number<#else>string</#if>" placeholder="${field.commentShow}"/>
				</div>
				<#if (fields?size<=rows +5) &&  (fields?size==rows+1)>
				<div class="layui-inline">
					<button class="layui-btn layuiadmin-btn-useradmin" lay-submit lay-filter="search_filter">
						<i class="layui-icon layui-icon-search layuiadmin-button-btn"> 搜索</i>
					</button>
				</div>
				</#if>
			<#assign rows = rows+1>
			</#list>
			<#if (fields?size>0) >
			</div>
			</#if>
		</div>
		<div class="layui-card-body">
			<table id="table_list" lay-filter="table_list_filter" class ="lay-hide"></table>
		</div>
	</div>
</div>
<script id="table_list_tool" type="text/html">
	<div class="layui-btn-group">
		<button type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="add">
			<i class="layui-icon">&#xe654; 新增</i>
		</button>
		<button type="button" class="layui-btn layui-btn-primary layui-btn-sm" lay-event="deletes">
			<i class="layui-icon">&#xe640; 删除</i>
		</button>
	</div>
</script>
<script type="text/html" id="table_list_row_tool">
	<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script src="/static/assets/libs/layuiadmin/layui/layui.js"></script>
<script src="/static/js/${package.ModuleName}/${table.entityPath}/${table.entityPath}_list.js"></script>
</body>
</html>
